import request from "@/axios/axios"
export default {
    // 获取微信登录code
    getCodeApi(data) {
        return request({
            url: `/agent/user/tenantInitialize`,
            method: 'post',
            data
        })
    },
    // 获取打款openid的code
    getRemitCodeApi(data){
        return request({
            url: `/agent/user/debitAcquisition`,
            method: 'post',
            data
        })
    },
    // 获取加密数据
    getEncryptInfoApi(data) {
        return request({
            url: `/agent/user/wechatInit`,
            method: 'post',
            data
        })
    },
    // 绑定设备
    bindEquipmentApi(data) {
        return request({
            url: `/tool/manage/bind`,
            method: 'post',
            data
        })
    },
    // 获取客服电话
    getServiceApi(){
        return request({
            url: `/agent/user/customerPhone`,
            method: 'post',
        })
    }
}
